package syntaxtree;
import visitor.IRTreeCreator;
import visitor.Visitor;
import visitor.TypeVisitor;

public class ClassDeclExtends extends ClassDecl {
	public Identifier i;
	public Identifier j;
	public VarDeclList vl;  
	public MethodDeclList ml;

	public ClassDeclExtends(Identifier ai, Identifier aj, 
			VarDeclList avl, MethodDeclList aml) {
		i=ai; j=aj; vl=avl; ml=aml;
	}

	public void accept(Visitor v) {
		v.visit(this);
	}

	public Type accept(TypeVisitor v) {
		return v.visit(this);
	}

	@Override
	public void accept(IRTreeCreator v) {
		// TODO Auto-generated method stub
		
	}

}
